package com.tust.service;

import com.tust.domain.Grade;

import java.util.List;

public interface GradeService {
    int insertGrade(Grade grade);
    int deleteGrade(Grade grade);
    int updateGrade(Grade oldGrade, Grade grade);
    List<Grade> selectGrade(Grade grade);
    List<Grade> selectGradeByStudentNum(String studentNum);
    List<Grade> selectGradeByCourseNum(String courseNum);
    List<Grade> selectGradeByExamTimes(String examTimes);
    List<Grade> selectGradeByRegularGrade(String regularGrade);
    List<Grade> selectGradeByExamGrade(String examGrade);
    List<Grade> selectGradeByTotalGrade(String totalGrade);
    List<Grade> selectGradeAll();
}
